package com.tx.logsys.mapper;

import com.tx.logsys.pojo.User;
import java.util.List;
import java.util.Map;

public interface BaseUserMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

//    List<User> listByMap(Map<String, Object> map);

    List<Map<String, Object>> listByMap(Map<String, Object> map);

    // 流程报错日志
    List<Map<String, Object>> Orchestration(Map<String, Object> map);

    // 发送端口报错日志
    List<Map<String, Object>> SendPort(Map<String, Object> map);

    // 接受端口报错日志
    List<Map<String, Object>> ReceivePort(Map<String, Object> map);

    // Isolated
    List<Map<String, Object>> Isolated(Map<String, Object> map);

    // 新增查询所有成功调用流程的sql
    List<Map<String, Object>> QueryAllCompleted(Map<String, Object> map);

    // 查询所有传入传出的状态的Sql
    List<Map<String, Object>> QueryAllMessage(Map<String, Object> map);

}
